<template>
    <van-nav-bar v-bind:title="titleInNavBar" />
</template>

<script>
// 上标题栏
import { NavBar } from 'vant';
export default {

    name:'NavBarOnTop',
    components: {
        [NavBar.name]: NavBar
    },


    props:['titleInNavBar']
}
</script>

<style>
</style>